<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8" %>
<%response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-store");
response.setDateHeader("Expires", 0);
response.flushBuffer();
%> 

<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/common/meta.jsp" %>
<title>${hkdseTitle}</title>
<%@ include file="/common/css_js.jsp"%>

<script>
 function changeRoles(){
	 if(confirm('Please save all data before changing role?')){
		 window.location="${pageContext.request.contextPath}/admin/account/select-role!inputChangeRole.action";
	 }
 }
</script>

</head>
<body>
<div class="body">
	<div class="hdr">
	
		<div class="top">
			<div class="left">
			<div class="right">
			<div class="center"></div>
			</div>
			</div>
		</div>
		
		<div class="middle">
			<div class="left">
				<div class="right">
					<div class="center">
						<ul class="region">
							<li class="rLeft">
							  <img class="logoImg" src="${ctx}/images/logo.jpg" style="width:243px;height:56px;"/> 
							</li>
							<li class="rCenter">
								<div class="appName"><s:property value="%{getText('COMMON_ADMIN_MODULE')}"/>
								</div>
							</li>
				
							<li class="rRight">
								<div class="trm">
								<div class="top">
								
								<ul>
									<li class="cFont"><a href="javascript:changeFont(1)"
										class="cFont1"><img src="${ctx}/images/spacer.gif" /></a></li>
									<li class="cFont"><a href="javascript:changeFont(2)"
										class="cFont2"><img src="${ctx}/images/spacer.gif" /></a></li>
									<li class="cFont"><a href="javascript:changeFont(3)"
										class="cFont3"><img src="${ctx}/images/spacer.gif" /></a></li>
							
							    <c:if test="${languageKey=='cn'||languageKey=='tw'}">
								 <li><a href="${ctx}/admin/account/select-language!selectLanguage.action?funcode=1&languageKey=eng&url=${currentUrl}"><s:property value="%{getText('COMMON_ENGLISH')}"/></a></li>
						         <li class="sep sep2">|</li>
						        </c:if>
						        <c:if test="${languageKey=='eng'||languageKey=='tw'}">
						         <li><a href="${ctx}/admin/account/select-language!selectLanguage.action?funcode=1&languageKey=cn&url=${currentUrl}"><s:property value="%{getText('COMMON_CHN_CHINESE')}"/></a></li>
						         <li class="sep sep2">|</li>
						       </c:if>
						       <c:if test="${languageKey=='eng'||languageKey=='cn'}">
						         <li><a href="${ctx}/admin/account/select-language!selectLanguage.action?funcode=1&languageKey=tw&url=${currentUrl}"><s:property value="%{getText('COMMON_TW_CHINESE')}"/></a></li>
						         <li class="sep sep2">|</li>
						       </c:if>
						       
								<li><a href="${ctx}/search/search.action"><s:property value="%{getText('COMMON_HOME')}"/></a></li>
								<li class="sep sep4">|</li>
								<li><a href="${ctx}/j_spring_security_logout"><s:property value="%{getText('COMMON_LOGOUT')}"/></a></li>
					                        
								</ul>
							   </div>
							   <c:if test="${pageContext.request.remoteUser!=null}">
								   <div class="middle">
								      <s:property value="%{getText('COMMON_USER_ID')}"/>: ${hkdseUser.loginId} <security:authentication property="principal.username"></security:authentication>  &nbsp; &nbsp; &nbsp; 
								      <s:property value="%{getText('COMMON_LAST_LOGIN')}"/>: ${lastLoginDate}18:29 2011-4-15
								   </div>
							       <div class="bottom">
							           <s:property value="%{getText('COMMON_ROLE')}"/>: ${userRole} <security:authentication property="principal.authorities"></security:authentication>&nbsp; &nbsp; 
							           <s:property value="%{getText('COMMON_LAST_LOGOUT')}"/>: ${userlastLogoutDate}18:29 2011-4-15
							       </div>
						       </c:if>
							  </div>
						 </li>
						
						 </ul>
					 </div>
				 </div>
			</div>
		</div>
	<div class="bottom">
	<div class="left">
	<div class="right">
	<div class="center"></div>
	</div>
	</div>
	</div>
	</div>
	
<div class="ctt">
	<div class="top">
		<div class="left">
			<div class="right">
				<div class="center">
				</div>
			</div>
		</div>
	</div>
<div class="middle">
<div class="left">
<div class="right">
<div class="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="minHeight"><img src="${ctx}/images/spacer.gif" /></td>
		<td class="minCenter">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>